/**
 * <p>
 * Title: Washshop.java
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2009
 * </p>
 * <p>
 * Company: xunjie
 * </p>
 * 
 * @author shenhao
 * @date 2010-3-8
 * @version 1.0
 */
package cn.haona.game.simb.object.item.building;

import java.sql.Timestamp;
import java.util.HashMap;
import java.util.List;

import cn.haona.db.RelevanceBean;
import cn.haona.game.simb.object.Persistence;
import cn.haona.game.simb.object.PersistenceImpl;
import cn.haona.game.simb.object.geo.SpaceInBuilding;
import cn.haona.game.simb.object.geo.StreetInCity;
import cn.haona.game.simb.object.process.ProcessWashCarBill;
import cn.haona.game.simb.object.useroperation.UserInterview;

/**
 * <p>
 * Title: Washshop
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Company: xunjie
 * </p>
 * 
 * @author shenhao
 * @date 2010-3-8
 */
public class Washshop extends Building implements UserInterview {

	public Washshop() {
		// TODO Auto-generated constructor stub
	}

	public void initPO() {
		if (pO == null) {
			pO = new WashshopPO();
		}
	}

	// 用户访问
	public Object userInterview() {
		// TODO 玩家访问到这里的，比方说访问的页面里有关于这个洗车行的数据
		return null;
	}
	
	/**
	 * 得到为等待状态的流程
	 * @return
	 */
	public List<ProcessWashCarBill> getProcessList()
	{
		return null;
	}

	/**
	 * 洗车行持久化PO
	 * <p>
	 * Title: WashshopPO
	 * </p>
	 * <p>
	 * Description:
	 * </p>
	 * <p>
	 * Company: xunjie
	 * </p>
	 * 
	 * @author shenhao
	 * @date 2010-3-8
	 */
	public class WashshopPO extends PersistenceImpl {
		// 城市区域
		private StreetInCity street;

		// 空间
		private List<SpaceInBuilding> spaces;

		//得到主键名
		public String getPrimaryKeyName()
		{
			return "";
		}
		
		public boolean persisMe() {
			// TODO Auto-generated method stub
			return false;
		}
		
		public Long persisMeFirstTime() {
			// TODO Auto-generated method stub
			return -1L;
		}

		public Persistence updateMe() {
			// TODO Auto-generated method stub
			return null;
		}

		public boolean cacheMe() {
			// TODO Auto-generated method stub
			return false;
		}

		public long getID() {
			return id;
		}

		public void setID(long id) {
			this.id = id;
		}

		public List<SpaceInBuilding> getSpaces() {
			return spaces;
		}

		public void setSpaces(List<SpaceInBuilding> spaces) {
			this.spaces = spaces;
		}

		public StreetInCity getStreet() {
			return street;
		}

		public void setStreet(StreetInCity street) {
			this.street = street;
		}

		public Timestamp getAddedDate() {
			// TODO Auto-generated method stub
			return null;
		}

		public Integer getStatus() {
			// TODO Auto-generated method stub
			return 0;
		}

		public Timestamp getUpDateDate() {
			// TODO Auto-generated method stub
			return null;
		}

		public void setAddedDate(Timestamp date) {
			// TODO Auto-generated method stub
			
		}

		public void setStatus(Integer status) {
			// TODO Auto-generated method stub
			
		}

		public void setUpDateDate(Timestamp date) {
			// TODO Auto-generated method stub
			
		}

		public HashMap<String, RelevanceBean> getReflectRelevance() {
			// TODO Auto-generated method stub
			return null;
		}
		
	}

}
